package com.itheima.idea;

public class TestPhone {
    public static void main(String[] args) {
        phone p = new phone();
        p.barnd = "华为";
        p.price = 5999;

        p.call("老王");
        p.sendMessage();

        phone p2 =new phone();
        p2.barnd = "大米";
        p2.price = 4999;
        p2.call("老张");
        p2.sendMessage();
    }
}
